package Chap5;

public class Simulator {

	public static void playSound(Animal animal)
	{
		String name = animal.getAnimalName();
		System.out.print(name+":");
		animal.cry();
	}
}
